<!DOCTYPE html>
<html>
<head>
  <style>
    #vis.vega-embed {
      width: 100%;
      display: flex;
    }

    #vis.vega-embed details,
    #vis.vega-embed details summary {
      position: relative;
    }
  </style>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vega@5"></script>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vega-lite@5.15.1"></script>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>
</head>
<body>
  <div id="vis"></div>
  <script>
    (function(vegaEmbed) {
      var spec = {"config": {"view": {"continuousWidth": 300, "continuousHeight": 300, "strokeWidth": 0}, "axis": {"grid": false, "labelFontSize": 14, "titleFontSize": 16}}, "layer": [{"mark": {"type": "line"}, "encoding": {"color": {"field": "CATEGORY", "legend": null, "scale": {"domain": ["Salmon", "Shrimp", "Trout", "Scallop", "Other"], "range": ["#105473", "lightgrey", "lightgrey", "lightgrey", "lightgrey"]}, "type": "nominal"}, "x": {"field": "YEAR_ID", "title": "", "type": "ordinal"}, "y": {"axis": {"format": ".2s"}, "field": "AMOUNT", "title": "$", "type": "quantitative"}}, "title": {"text": "Aquaculture Exports of Salmon in the U.S.", "align": "left", "anchor": "start", "color": "#105473", "fontSize": 20, "offset": 20, "subtitle": ["Aquaculture seafood in the U.S. is regulated by the FDA to ensure safety. Strict standards are in place to monitor water quality, feed, and disease control.", "Regular inspections and testing are conducted to minimize risks and protect consumers. (Source: U.S. Food and Drug Administration)"], "subtitleColor": "black", "subtitleFontSize": 14}}, {"mark": {"type": "text", "align": "left", "baseline": "middle", "dx": 5, "fontSize": 14}, "encoding": {"color": {"field": "CATEGORY", "legend": null, "scale": {"domain": ["Salmon", "Shrimp", "Trout", "Scallop", "Other"], "range": ["#105473", "lightgrey", "lightgrey", "lightgrey", "lightgrey"]}, "type": "nominal"}, "text": {"field": "CATEGORY", "type": "nominal"}, "x": {"field": "YEAR_ID", "title": "", "type": "ordinal"}, "y": {"axis": {"format": ".2s"}, "field": "AMOUNT", "title": "$", "type": "quantitative"}}, "title": {"text": "Aquaculture Exports of Salmon in the U.S.", "align": "left", "anchor": "start", "color": "#105473", "fontSize": 20, "offset": 20, "subtitle": ["Aquaculture seafood in the U.S. is regulated by the FDA to ensure safety. Strict standards are in place to monitor water quality, feed, and disease control.", "Regular inspections and testing are conducted to minimize risks and protect consumers. (Source: U.S. Food and Drug Administration)"], "subtitleColor": "black", "subtitleFontSize": 14}, "transform": [{"filter": "(datum.YEAR_ID === 2015)"}]}, {"data": {"name": "data-fb1c4d083bdb156fb81110feba9ad714"}, "mark": {"type": "rect", "color": "lightgrey", "opacity": 0.5}, "encoding": {"x": {"field": "x", "type": "ordinal"}, "x2": {"field": "x2"}, "y": {"field": "y", "type": "quantitative"}, "y2": {"field": "y2"}}}, {"data": {"name": "data-722c22b177fa4b388542b1986f5c0e0e"}, "mark": {"type": "text", "align": "left", "baseline": "middle", "dx": 5, "dy": 10, "fontSize": 14}, "encoding": {"text": {"field": "text", "type": "nominal"}, "x": {"field": "x", "type": "ordinal"}, "y": {"field": "y", "type": "quantitative"}}}, {"data": {"name": "data-7648827df466a5492da2962744628275"}, "mark": {"type": "line", "strokeWidth": 8}, "encoding": {"color": {"field": "CATEGORY", "legend": null, "scale": {"domain": ["Salmon", "Shrimp", "Trout", "Scallop", "Other"], "range": ["#105473", "lightgrey", "lightgrey", "lightgrey", "lightgrey"]}, "type": "nominal"}, "x": {"field": "YEAR_ID", "title": "", "type": "ordinal"}, "y": {"axis": {"format": ".2s"}, "field": "AMOUNT", "title": "$", "type": "quantitative"}}, "name": "view_1", "title": {"text": "Aquaculture Exports of Salmon in the U.S.", "align": "left", "anchor": "start", "color": "#105473", "fontSize": 20, "offset": 20, "subtitle": ["Aquaculture seafood in the U.S. is regulated by the FDA to ensure safety. Strict standards are in place to monitor water quality, feed, and disease control.", "Regular inspections and testing are conducted to minimize risks and protect consumers. (Source: U.S. Food and Drug Administration)"], "subtitleColor": "black", "subtitleFontSize": 14}, "transform": [{"filter": {"or": [{"param": "Select"}, "(datum.TREND === 2)"]}}, {"filter": "(datum.CATEGORY === 'Salmon')"}]}, {"data": {"name": "data-f0472731e49a689867b52e584f777e73"}, "mark": {"type": "image", "height": 100, "width": 100}, "encoding": {"url": {"field": "url", "type": "nominal"}, "x": {"field": "x", "type": "ordinal"}, "x2": {"field": "x2"}, "y": {"field": "y", "type": "quantitative"}}}], "data": {"name": "data-7648827df466a5492da2962744628275"}, "height": 400, "params": [{"name": "Select", "select": {"type": "point", "fields": ["TREND"]}, "bind": {"input": "select", "options": [1, 3], "labels": ["negative", "positive"]}, "value": [{"TREND": 1}], "views": ["view_1"]}], "width": 800, "$schema": "https://vega.github.io/schema/vega-lite/v5.15.1.json", "datasets": {"data-7648827df466a5492da2962744628275": [{"YEAR_ID": 1989, "CATEGORY": "Other", "AMOUNT": 134753682, "TREND": 0}, {"YEAR_ID": 1989, "CATEGORY": "Salmon", "AMOUNT": 911009810, "TREND": 0}, {"YEAR_ID": 1990, "CATEGORY": "Other", "AMOUNT": 207454132, "TREND": 0}, {"YEAR_ID": 1990, "CATEGORY": "Salmon", "AMOUNT": 858968163, "TREND": 0}, {"YEAR_ID": 1991, "CATEGORY": "Other", "AMOUNT": 204126012, "TREND": 0}, {"YEAR_ID": 1991, "CATEGORY": "Salmon", "AMOUNT": 641862173, "TREND": 0}, {"YEAR_ID": 1992, "CATEGORY": "Other", "AMOUNT": 194118519, "TREND": 1}, {"YEAR_ID": 1992, "CATEGORY": "Salmon", "AMOUNT": 928945058, "TREND": 1}, {"YEAR_ID": 1993, "CATEGORY": "Other", "AMOUNT": 209428765, "TREND": 1}, {"YEAR_ID": 1993, "CATEGORY": "Salmon", "AMOUNT": 867664718, "TREND": 1}, {"YEAR_ID": 1994, "CATEGORY": "Other", "AMOUNT": 221135767, "TREND": 1}, {"YEAR_ID": 1994, "CATEGORY": "Salmon", "AMOUNT": 797635772, "TREND": 1}, {"YEAR_ID": 1995, "CATEGORY": "Other", "AMOUNT": 231208173, "TREND": 1}, {"YEAR_ID": 1995, "CATEGORY": "Salmon", "AMOUNT": 850162047, "TREND": 1}, {"YEAR_ID": 1996, "CATEGORY": "Other", "AMOUNT": 215282007, "TREND": 1}, {"YEAR_ID": 1996, "CATEGORY": "Salmon", "AMOUNT": 715032653, "TREND": 1}, {"YEAR_ID": 1997, "CATEGORY": "Other", "AMOUNT": 216053711, "TREND": 1}, {"YEAR_ID": 1997, "CATEGORY": "Salmon", "AMOUNT": 499693017, "TREND": 1}, {"YEAR_ID": 1998, "CATEGORY": "Other", "AMOUNT": 189856169, "TREND": 2}, {"YEAR_ID": 1998, "CATEGORY": "Salmon", "AMOUNT": 441889691, "TREND": 2}, {"YEAR_ID": 1999, "CATEGORY": "Other", "AMOUNT": 193728083, "TREND": 3}, {"YEAR_ID": 1999, "CATEGORY": "Salmon", "AMOUNT": 639649463, "TREND": 3}, {"YEAR_ID": 2000, "CATEGORY": "Other", "AMOUNT": 227563153, "TREND": 3}, {"YEAR_ID": 2000, "CATEGORY": "Salmon", "AMOUNT": 591520775, "TREND": 3}, {"YEAR_ID": 2001, "CATEGORY": "Other", "AMOUNT": 221503371, "TREND": 3}, {"YEAR_ID": 2001, "CATEGORY": "Salmon", "AMOUNT": 549516770, "TREND": 3}, {"YEAR_ID": 2002, "CATEGORY": "Other", "AMOUNT": 253939363, "TREND": 3}, {"YEAR_ID": 2002, "CATEGORY": "Salmon", "AMOUNT": 467626146, "TREND": 3}, {"YEAR_ID": 2003, "CATEGORY": "Other", "AMOUNT": 277089924, "TREND": 3}, {"YEAR_ID": 2003, "CATEGORY": "Salmon", "AMOUNT": 511181512, "TREND": 3}, {"YEAR_ID": 2004, "CATEGORY": "Other", "AMOUNT": 279294428, "TREND": 3}, {"YEAR_ID": 2004, "CATEGORY": "Salmon", "AMOUNT": 583211065, "TREND": 3}, {"YEAR_ID": 2005, "CATEGORY": "Other", "AMOUNT": 305543668, "TREND": 3}, {"YEAR_ID": 2005, "CATEGORY": "Salmon", "AMOUNT": 697072181, "TREND": 3}, {"YEAR_ID": 2006, "CATEGORY": "Other", "AMOUNT": 348509965, "TREND": 3}, {"YEAR_ID": 2006, "CATEGORY": "Salmon", "AMOUNT": 631569842, "TREND": 3}, {"YEAR_ID": 2007, "CATEGORY": "Other", "AMOUNT": 359010019, "TREND": 3}, {"YEAR_ID": 2007, "CATEGORY": "Salmon", "AMOUNT": 776790229, "TREND": 3}, {"YEAR_ID": 2008, "CATEGORY": "Other", "AMOUNT": 411638713, "TREND": 3}, {"YEAR_ID": 2008, "CATEGORY": "Salmon", "AMOUNT": 812449912, "TREND": 3}, {"YEAR_ID": 2009, "CATEGORY": "Other", "AMOUNT": 395256632, "TREND": 3}, {"YEAR_ID": 2009, "CATEGORY": "Salmon", "AMOUNT": 744659898, "TREND": 3}, {"YEAR_ID": 2010, "CATEGORY": "Other", "AMOUNT": 372252703, "TREND": 3}, {"YEAR_ID": 2010, "CATEGORY": "Salmon", "AMOUNT": 897127858, "TREND": 3}, {"YEAR_ID": 2011, "CATEGORY": "Other", "AMOUNT": 507415160, "TREND": 3}, {"YEAR_ID": 2011, "CATEGORY": "Salmon", "AMOUNT": 1006085904, "TREND": 3}, {"YEAR_ID": 2012, "CATEGORY": "Other", "AMOUNT": 482026635, "TREND": 3}, {"YEAR_ID": 2012, "CATEGORY": "Salmon", "AMOUNT": 723724185, "TREND": 3}, {"YEAR_ID": 2013, "CATEGORY": "Other", "AMOUNT": 444154055, "TREND": 3}, {"YEAR_ID": 2013, "CATEGORY": "Salmon", "AMOUNT": 857953483, "TREND": 3}, {"YEAR_ID": 2014, "CATEGORY": "Other", "AMOUNT": 499395664, "TREND": 3}, {"YEAR_ID": 2014, "CATEGORY": "Salmon", "AMOUNT": 794630807, "TREND": 3}, {"YEAR_ID": 2015, "CATEGORY": "Other", "AMOUNT": 556406953, "TREND": 3}, {"YEAR_ID": 2015, "CATEGORY": "Salmon", "AMOUNT": 908469003, "TREND": 3}], "data-fb1c4d083bdb156fb81110feba9ad714": [{"x": 1992, "x2": 1998, "y": 0, "y2": 1106085904}], "data-722c22b177fa4b388542b1986f5c0e0e": [{"x": 1992, "y": 1106085904.0, "text": "The decline in sales was"}, {"x": 1992, "y": 1039419237.3333334, "text": "partially due to fish"}, {"x": 1992, "y": 972752570.6666666, "text": "health issues"}], "data-f0472731e49a689867b52e584f777e73": [{"url": "../images/safesalmon.png", "x": 2002, "x2": 2006, "y": 900000000}]}};
      var embedOpt = {"mode": "vega-lite"};

      function showError(el, error){
          el.innerHTML = ('<div style="color:red;">'
                          + '<p>JavaScript Error: ' + error.message + '</p>'
                          + "<p>This usually means there's a typo in your chart specification. "
                          + "See the javascript console for the full traceback.</p>"
                          + '</div>');
          throw error;
      }
      const el = document.getElementById('vis');
      vegaEmbed("#vis", spec, embedOpt)
        .catch(error => showError(el, error));
    })(vegaEmbed);

  </script>
</body>
</html>